<extend name="Public/base" />

<block name="body">

    <div class="group-centerbox">
        <div class="group-center clearfloat">
            <div class="group-tabs clearfloat">
                <div class="group-left">
                    <table style="margin: 0 auto;" class="group-table-td5">
                        <tr class="group-backg">
                            <td>用户电话</td><td>用户昵称</td><td>所属上级</td><td>关注时间</td><td>余额</td>
                        </tr>
                        <notempty name="showdata">
                            <volist name="showdata" id="vo">
                                <tr>
                                    <td>{$vo['mobile']}</td><td title="{$vo['nickname']}">{$vo['nickname']}</td><td title="{$vo['shangji']}">{$vo['shangji']}</td><td>{$vo['subscribe_time']|date='Y-m-d H:i:s',###}</td><td>{$vo['money']}</td>
                                </tr>
                            </volist>
                            <else/>
                            <tr><td>对不起,暂时还没有数据</td></tr>
                        </notempty>
                    </table>

                </div>
                <div class="group-right">
                    <div class="group-teb1">
                        <div class="group-teb11 group-backg">收益</div>
                        <table>
                            <tr class="group-backg">
                                <td>订单类型</td><td>订单金额</td><td>操作</td>
                            </tr>
                            <tr>
                                <td>恒指期权</td><td>{$showhendata[0]}</td><td><a href="{:U('Group/Detail/profit',array('id'=>I('id'),'type'=>'henzhi','func'=>'only'))}">查看详情</a></td>
                            </tr>
                            <tr>
                                <td>欧元期权</td><td>{$showeurodata[0]}</td><td><a href="{:U('Group/Detail/profit',array('id'=>I('id'),'type'=>'euro','func'=>'only'))}">查看详情</a></td>
                            </tr>
                            <tr>
                                <td>伦敦金期权</td><td>{$showgolddata[0]}</td><td><a href="{:U('Group/Detail/profit',array('id'=>I('id'),'type'=>'gold','func'=>'only'))}">查看详情</a></td>
                            </tr>
                            <tr>
                                <td>美元期权</td><td>{$showdollardata[0]}</td><td><a href="{:U('Group/Detail/profit',array('id'=>I('id'),'type'=>'dollar','func'=>'only'))}">查看详情</a></td>
                            </tr>
                        </table>
                    </div>
                    <div class="group-teb2" style="margin-top: 20px;">
                        <div class="group-teb22 group-backg">佣金</div>
                        <table>
                            <tr class="group-backg">
                                <td>佣金类型</td><td>订单金额</td><td>操作</td>
                            </tr>
                            <tr>
                                <td>未分配</td><td>{$commissiondata[0]['money']}</td><td><a href="{:U('Group/Detail/commission_detail',array('id'=>I('id'),'type'=>'wei','func'=>'only'))}">查看详情</a></td>
                            </tr>
                            <tr>
                                <td>已分配</td><td>{$commissiondata[1]['money']}</td><td><a href="{:U('Group/Detail/commission_detail',array('id'=>I('id'),'type'=>'yi','func'=>'only'))}">查看详情</a></td>
                            </tr>
                        </table>
                    </div>
                    <div class="group-teb3" style="margin-top: 20px;">
                        <div class="group-teb33 group-backg">出入金</div>
                        <table>
                            <tr class="group-backg">
                                <td>金额类型</td><td>出入金额</td><td>操作</td>
                            </tr>
                            <tr>
                                <td>充值</td><td>{$rechargedata['money']}</td><td><a href="{:U('Group/Detail/access',array('id'=>I('id'),'type'=>'recharge','func'=>'only'))}">查看详情</a></td>
                            </tr>
                            <tr>
                                <td>提现</td><td>{$drawalsdata['money']}</td><td><a href="{:U('Group/Detail/access',array('id'=>I('id'),'type'=>'withdrawals','func'=>'only'))}">查看详情</a></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $('.group-header-tabcenter').find('.left').find('span').eq(2).addClass('borderb').siblings().removeClass('borderb');
    </script>
</block>